<%@ page language="java"  pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录</title>
<style type="text/css">
<!--
html { height:100%;}
body { height:100%; background-color: #f0f0f0; margin:0;padding:0;font-size:12px; color: #FFFFFF; text-align:center;}
.LoginDiv { background-image: url(images/loginBG.gif); height: 272px;	width: 518px;  background-repeat:no-repeat; margin:auto; text-align:left;}
.LoginInput {border: 1px solid #0d0d0e;	width:200px;vertical-align: middle;}
.FontStyle{	font-weight: bold;	font-size: 14px;text-align:right; color: #FFFFFF;}
#AlertInfo{	width:510px;height:30px;margin: 10px auto;text-align: center;color: #f14e0d;border:#f1571c solid 1px;background-color:#f9f1cc;line-height:30px;
	font-size: 14px;font-weight: bold;display:none;
}
.CopyrightStyle{font-size: 16px;	color: #000000; text-align: center;}
.CenterDiv { display:inline-block; zoom:1; *display:inline; vertical-align:middle; }
.HiddenDiv { height:100%; overflow:hidden; display:inline-block; width:1px; overflow:hidden; margin-left:-1px; zoom:1; *display:inline; *margin-top:-1px; _margin-top:0; vertical-align:middle;}
-->
</style>
<script language="javascript" type="text/javascript">
    function show(){    	
    	var msg='<s:property value="info"/>';
    	if(msg!=undefined && msg!=""){
    		document.getElementById("AlertInfo").style.display="block"; 
	    	document.getElementById("AlertInfo").innerHTML=msg; 
	   		setTimeout("closeInfo()",3000);
    	}    	
    }
    function closeInfo()
    {
      document.getElementById("AlertInfo").style.display="none";      
    }
</script>
</head>
<body onload="show();">
<div class="CenterDiv" >
	<div id="AlertInfo">您输入的密码位数不对，请重新输入！</div>
	<div class="LoginDiv">
	   <form method="post" action="<%=path %>/login.do">
		  <table  width="100%" border="0" cellspacing="5" cellpadding="0">
			  <tr>
				<td height="90">&nbsp;</td>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
			  </tr>
			  <tr>
				<td width="155">&nbsp;</td>
				<td width="72"  class="FontStyle">用户名:</td>
				<td width="255"><input type="text" class="LoginInput" name="userName" /></td>
			</tr>
			  <tr >
				<td height="28">&nbsp;</td>
				<td align="right"  class="FontStyle">密&nbsp;&nbsp;码:</td>
				<td><input type="password"  class="LoginInput" name="password" /></td>
			</tr>
			  <tr>
				<td height="34">&nbsp;</td>
				<td>&nbsp;</td>
				<td><label><input type="checkbox" name="checkbox" value="checkbox" />记住我的密码</label> </td>
			</tr>
			  <tr>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td><input type="image" src="images/LoginSub.png" /> </td>
			</tr>
		  </table> 
	   </form>
	</div>
	<div  class="CopyrightStyle">Copyright &copy; 2007-2010</div>
</div>
<div class="HiddenDiv"></div>
</body>
</html>

